The home side continued to dominate and captain Mike Blair's cross-field run set up Webster to touch down Edinburgh's third try under the posts, with Paterson adding the extras.
Khalil smashed a shot against the bar after the hour mark, but the unlucky Abbas decisively turned the ball into his own net in injury-time as he tried to cut out a cross from Iraq captain Younis Mahmoud.